import { CustomEnum } from "@/enums";
import { DeviceEnum } from "@/enums/DeviceEnum";

// 定义用户类型枚举
export const USER_TYPE_ENUM: CustomEnum<number> = {
  SYSTEM_USER: {
    value: 10,
    label: "系统用户",
  },
  SENIOR_PARTNER: {
    value: 12,
    label: "高级合伙人",
  },
  CHANNEL_PARTNER: {
    value: 11,
    label: "渠道合伙人",
  },
};
/**
 * 用户类型枚举
 */
export const UserTypeEnum: CustomEnum<string> = {
  DECORATION_COMPANY: { label: "装修公司", value: "MC02" },
  HOME_BUILDING_MATERIALS: { label: "家居建材", value: "MC03" },
  DESIGNER: { label: "设计师", value: "ME01" },
  PRACTITIONER: { label: "公司职员", value: "MC00" },
  PROJECT_MANAGER: { label: "项目经理", value: "ME02" },
};

// 登陆方式 1:账号密码登录;2手机验证码登录
export const LOGIN_TYPE_ENUM: CustomEnum<number> = {
  PASSWORD: { label: "账号密码登录", value: 1 },
  CAPTCHA_CODE: { label: "手机验证码登录", value: 2 },
};
